attribute vec3 position;
uniform mat4 projectionMatrix;
uniform mat4 viewMatrix;
uniform mat4 modelMatrix;

attribute vec2 uv; // 二维纹理坐标
varying vec2 v_uv;// 可以传递给片元着色器的二维纹理坐标
precision lowp float; // 指定精度
// 获取时间
uniform float uTime;
void main(){
    v_uv = uv;
    vec4 modelPosition = modelMatrix * vec4(position,1.0);
    gl_Position = projectionMatrix * viewMatrix * modelPosition;
}